package com.zzw.pojo;

public class Stock {
    private Integer id;
    private String modelNum;
    private Double size;

    public Stock() {
    }

    public Stock(Integer id, String modelNum, Double size) {
        this.id = id;
        this.modelNum = modelNum;
        this.size = size;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getModelNum() {
        return modelNum;
    }

    public void setModelNum(String modelNum) {
        this.modelNum = modelNum;
    }

    public Double getSize() {
        return size;
    }

    public void setSize(Double size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "Stock{" +
                "id=" + id +
                ", modelNum='" + modelNum + '\'' +
                ", size=" + size +
                '}';
    }
}
